package com.xkh.common.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserPositionVO implements Serializable {

    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("距离")
    private Double distance;

    public UserPositionVO(Long userId, Double distance) {
        this.userId = userId;
        this.distance = distance;
    }
}
